package com.ruoyi.record.service;

import java.util.List;
import com.ruoyi.record.domain.RecordProfessional;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.record.domain.RecordWage;

/**
 * 职称申报Service接口
 * 
 * @author ruoyi
 * @date 2024-05-09
 */
public interface IRecordProfessionalService extends IService<RecordProfessional>
{
    /**
     * 查询职称申报
     * 
     * @param professionalId 职称申报主键
     * @return 职称申报
     */
    public RecordProfessional selectRecordProfessionalByProfessionalId(Long professionalId);

    /**
     * 查询职称申报列表
     * 
     * @param recordProfessional 职称申报
     * @return 职称申报集合
     */
    public List<RecordProfessional> selectRecordProfessionalList(RecordProfessional recordProfessional);

    /**
     * 新增职称申报
     * 
     * @param recordProfessional 职称申报
     * @return 结果
     */
    public int insertRecordProfessional(RecordProfessional recordProfessional);

    /**
     * 修改职称申报
     * 
     * @param recordProfessional 职称申报
     * @return 结果
     */
    public int updateRecordProfessional(RecordProfessional recordProfessional);

    /**
     * 批量删除职称申报
     * 
     * @param professionalIds 需要删除的职称申报主键集合
     * @return 结果
     */
    public int deleteRecordProfessionalByProfessionalIds(String professionalIds);

    /**
     * 删除职称申报信息
     * 
     * @param professionalId 职称申报主键
     * @return 结果
     */
    public int deleteRecordProfessionalByProfessionalId(Long professionalId);

    /**
     * 查询职称申报列表
     *
     * @param recordProfessional 职称申报
     * @return 职称申报集合
     */
    public List<RecordProfessional> selectVerifyProfessionalList(RecordProfessional recordProfessional);

    /**
     * 查询职称申报列表
     *
     * @param recordProfessional 职称申报
     * @return 职称申报集合
     */
    public List<RecordProfessional> selectScoreProfessionalList(RecordProfessional recordProfessional);


    /**
     * 职称申报审批
     * @param recordProfessional
     * @return
     */
    public int verifyRecordProfessional(RecordProfessional recordProfessional);

    /**
     * 职称申报审批
     * @param recordProfessional
     * @return
     */
    public int scoreRecordProfessional(RecordProfessional recordProfessional);

    /**
     * 导入职称申报
     *
     * @param professionalList 职称申报列表
     * @return 结果
     */
    public String importRecordProfessional(List<RecordProfessional> professionalList, boolean isUpdateSupport);
}
